﻿@model IEnumerable<VietPremier.EntityDestinationCountry>

@{
    ViewBag.Title = "DestinationCountryList";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="content container-fluid">
    		<div class="row-fluid">
    			<div class="span3">
    				@Html.Action("LeftMenu", "Home")
                    @Html.Partial("_Maps");
                    @Html.Action("Onlinesupport", "Home")
                    @Html.Action("News_Event", "Home")      
    			</div><!--/ .span3-->
   				<div class="span9">
                	<div class="link-page">
                    	<a href="@Url.Action("Index","Home")">Trang chủ&nbsp;<img src="@Url.Content("~/Content/cssFrontEnd/images/iconmt.png")" />&nbsp;</a>
                        <a href="@Url.Action("Index","Destination")">Thông tin du lịch&nbsp;<img src="@Url.Content("~/Content/cssFrontEnd/images/iconmt.png")">&nbsp;</a>
                        <span>@ViewBag.AreaName</span>
					</div>
                   @Html.Action("DestinationArea", "Destination", new { id = ViewBag.IdArea })
                       @{
                           
                       foreach(var item in Model)
                       {
                    <div class="row-fluid travel_info_it">
                    	<div class="span4">
                        	<div class="travel_info_img">
                            	<a href="@Url.Action("Destination", "Destination",new{ title = Utilities.Encode(item.Name), name = Utilities.Encode(ViewBag.AreaName)})">
                                    @{
                    var imageFile = "~/Content/upload/destination/";
                    if (item.Image != null)
                    {
                        imageFile += @item.Image;
                    }
                    else
                    {
                        imageFile += "no-photo.jpg";
                    }
                        }

                        <img src= "@Url.Content(imageFile)" style="width: 228px; height: 150px"/></a>
							</div><!--/ .travel_info_img-->
                        </div><!--/ .span4-->
                        <div class="span8">
                        	<div class="travel_info">
                            	<h5><a href="@Url.Action("Destination","Destination",new{title = Utilities.Encode(item.Name), name = Utilities.Encode(ViewBag.AreaName)})">@item.Name</a></h5>
                	@Html.Raw(@item.Description)
                    			<div class="link_info">
                    				@*<a href="#">About Vietnam,</a>
                                	<a href="#">Where to go?,</a> 
                                	<a href="#">What to see?,</a> 
                                	<a href="#">Where to say?,</a> 
                                	<a href="#">Useful information</a>  *@
                               		<span>
                                		<a href="@Url.Action("Destination","Destination",new{title = Utilities.Encode(item.Name), name = Utilities.Encode(ViewBag.AreaName)})"><img src="@Url.Content("~/Content/cssFrontEnd/images/nutnext.png")" /></a>
                                    <div class="clear"></div>
                               	 	</span>
                                </div>
							  </div><!--/ .travel_info-->
                           </div><!--/ .span8--> 
						</div><!--/ .row-fluid-->
                       }
                       }
                </div><!--/ .span9-->
    		</div><!--/ .row-fluid-->
            <!--/ .id="slides"-->
			 </div>